package com.bnlr.lrparking.appui.mine.recentparkrecord;

import java.util.List;

/**
 * description: TODO
 * RecentParkRecordDetailBean class
 *
 * @author : Licy
 * @date : 2018/12/28
 */
public class RecentParkRecordDetailBean {
    /**
     * errorCode : 0
     * msgcode : 1
     * msg : 成功
     * data : {"id":"90","carId":"豫AS8868","orderNum":"19010212360001","beginTime":"2019-01-02 08:06:18","endTime":"2019-01-02 09:06:18","shareValue":"0","name":"高新集团停车场","address":"农业路1号","status":"0","isUpload":"1","parkTime":"1","payedTime":"2019-01-02 09:07:18","dealStatus":"0","discountMoney":"0","payedMoney":"","createTime":"2019-01-02 08:06:18","lng":113.686454,"lat":34.792626,"photoList":[{"photoUrl":"http://91tcw.cn/upload/car/2019/01/02/24583d2d9c614d209282bbed5263ac21.jpg"}]}
     * recordCount : 0
     */

    private int errorCode;
    private String msgcode;
    private String msg;
    private DataBean data;
    private int recordCount;

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getMsgcode() {
        return msgcode;
    }

    public void setMsgcode(String msgcode) {
        this.msgcode = msgcode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(int recordCount) {
        this.recordCount = recordCount;
    }

    public static class DataBean {
        /**
         * id : 90
         * carId : 豫AS8868
         * orderNum : 19010212360001
         * beginTime : 2019-01-02 08:06:18
         * endTime : 2019-01-02 09:06:18
         * shareValue : 0
         * name : 高新集团停车场
         * address : 农业路1号
         * status : 0
         * isUpload : 1
         * parkTime : 1
         * payedTime : 2019-01-02 09:07:18
         * dealStatus : 0
         * discountMoney : 0
         * payedMoney :
         * createTime : 2019-01-02 08:06:18
         * lng : 113.686454
         * lat : 34.792626
         * photoList : [{"photoUrl":"http://91tcw.cn/upload/car/2019/01/02/24583d2d9c614d209282bbed5263ac21.jpg"}]
         */

        private String id;
        private String carId;
        private String orderNum;
        private String beginTime;
        private String endTime;
        private String shareValue;
        private String name;
        private String address;
        private String status;
        /**
         * 小票状态
         * 0   没有小票
         * 1   审核中
         * 2   审核失败
         * 3   有小票
         */
        private String isUpload;
        private String parkTime;
        private String payedTime;
        /**
         * 交易状态
         * 0   已完成
         * 1   待支付
         * 2   退款中
         * 3   已退款
         */
        private String dealStatus;
        private String discountMoney;
        private String payedMoney;
        private String createTime;
        private double lng;
        private double lat;
        private List<PhotoListBean> photoList;

        public DataBean(DataBean dataBean) {
            this.id = dataBean.getId();
            this.carId = dataBean.getCarId();
            this.orderNum = dataBean.getOrderNum();
            this.beginTime = dataBean.getBeginTime();
            this.endTime = dataBean.getEndTime();
            this.shareValue = dataBean.getShareValue();
            this.name = dataBean.getName();
            this.address = dataBean.getAddress();
            this.status = dataBean.getStatus();
            this.isUpload = dataBean.getIsUpload();
            this.parkTime = dataBean.getParkTime();
            this.payedTime = dataBean.getPayedTime();
            this.dealStatus = dataBean.getDealStatus();
            this.discountMoney = dataBean.getDiscountMoney();
            this.payedMoney = dataBean.getPayedMoney();
            this.createTime = dataBean.getCreateTime();
            this.lng = dataBean.getLng();
            this.lat = dataBean.getLat();
            this.photoList = dataBean.getPhotoList();
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id='" + id + '\'' +
                    ", carId='" + carId + '\'' +
                    ", orderNum='" + orderNum + '\'' +
                    ", beginTime='" + beginTime + '\'' +
                    ", endTime='" + endTime + '\'' +
                    ", shareValue='" + shareValue + '\'' +
                    ", name='" + name + '\'' +
                    ", address='" + address + '\'' +
                    ", status='" + status + '\'' +
                    ", isUpload='" + isUpload + '\'' +
                    ", parkTime='" + parkTime + '\'' +
                    ", payedTime='" + payedTime + '\'' +
                    ", dealStatus='" + dealStatus + '\'' +
                    ", discountMoney='" + discountMoney + '\'' +
                    ", payedMoney='" + payedMoney + '\'' +
                    ", createTime='" + createTime + '\'' +
                    ", lng=" + lng +
                    ", lat=" + lat +
                    ", photoList=" + photoList +
                    '}';
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCarId() {
            return carId;
        }

        public void setCarId(String carId) {
            this.carId = carId;
        }

        public String getOrderNum() {
            return orderNum;
        }

        public void setOrderNum(String orderNum) {
            this.orderNum = orderNum;
        }

        public String getBeginTime() {
            return beginTime;
        }

        public void setBeginTime(String beginTime) {
            this.beginTime = beginTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public String getShareValue() {
            return shareValue;
        }

        public void setShareValue(String shareValue) {
            this.shareValue = shareValue;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getIsUpload() {
            return isUpload;
        }

        public void setIsUpload(String isUpload) {
            this.isUpload = isUpload;
        }

        public String getParkTime() {
            return parkTime;
        }

        public void setParkTime(String parkTime) {
            this.parkTime = parkTime;
        }

        public String getPayedTime() {
            return payedTime;
        }

        public void setPayedTime(String payedTime) {
            this.payedTime = payedTime;
        }

        public String getDealStatus() {
            return dealStatus;
        }

        public void setDealStatus(String dealStatus) {
            this.dealStatus = dealStatus;
        }

        public String getDiscountMoney() {
            return discountMoney;
        }

        public void setDiscountMoney(String discountMoney) {
            this.discountMoney = discountMoney;
        }

        public String getPayedMoney() {
            return payedMoney;
        }

        public void setPayedMoney(String payedMoney) {
            this.payedMoney = payedMoney;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public double getLng() {
            return lng;
        }

        public void setLng(double lng) {
            this.lng = lng;
        }

        public double getLat() {
            return lat;
        }

        public void setLat(double lat) {
            this.lat = lat;
        }

        public List<PhotoListBean> getPhotoList() {
            return photoList;
        }

        public void setPhotoList(List<PhotoListBean> photoList) {
            this.photoList = photoList;
        }

        public static class PhotoListBean {
            /**
             * photoUrl : http://91tcw.cn/upload/car/2019/01/02/24583d2d9c614d209282bbed5263ac21.jpg
             */

            private String photoUrl;

            public String getPhotoUrl() {
                return photoUrl;
            }

            public void setPhotoUrl(String photoUrl) {
                this.photoUrl = photoUrl;
            }
        }
    }


    /**
     * errorCode : 0
     * msgcode : 1
     * msg : 成功
     * data : {"id":"86","carId":"豫AS8868","orderNum":"18083456461926","beginTime":"2018-12-29 10:08:18","endTime":"2018-12-29 10:24:18","shareValue":"0","name":"君庭商务酒店停车场","address":"郑州市金水区","status":"0","isUpload":"0","parkTime":"1","payedTime":"2018-12-29 10:49:19","dealStatus":"0","discountMoney":"0","payedMoney":"279","createTime":"2018-12-29 10:08:18","lng":113.689442,"lat":34.791259,"photoList":[]}
     * recordCount : 0
     */
//
//    private int errorCode;
//    private String msgcode;
//    private String msg;
//    private DataBean data;
//    private int recordCount;
//
//    public int getErrorCode() {
//        return errorCode;
//    }
//
//    public void setErrorCode(int errorCode) {
//        this.errorCode = errorCode;
//    }
//
//    public String getMsgcode() {
//        return msgcode;
//    }
//
//    public void setMsgcode(String msgcode) {
//        this.msgcode = msgcode;
//    }
//
//    public String getMsg() {
//        return msg;
//    }
//
//    public void setMsg(String msg) {
//        this.msg = msg;
//    }
//
//    public DataBean getData() {
//        return data;
//    }
//
//    public void setData(DataBean data) {
//        this.data = data;
//    }
//
//    public int getRecordCount() {
//        return recordCount;
//    }
//
//    public void setRecordCount(int recordCount) {
//        this.recordCount = recordCount;
//    }
//
//    public static class DataBean {
//        /**
//         * id : 86
//         * carId : 豫AS8868
//         * orderNum : 18083456461926
//         * beginTime : 2018-12-29 10:08:18
//         * endTime : 2018-12-29 10:24:18
//         * shareValue : 0
//         * name : 君庭商务酒店停车场
//         * address : 郑州市金水区
//         * status : 0
//         * isUpload : 0
//         * parkTime : 1
//         * payedTime : 2018-12-29 10:49:19
//         * dealStatus : 0
//         * discountMoney : 0
//         * payedMoney : 279
//         * createTime : 2018-12-29 10:08:18
//         * lng : 113.689442
//         * lat : 34.791259
//         * photoList : []
//         */
//
//        private String id;
//        private String carId;
//        private String orderNum;
//        private String beginTime;
//        private String endTime;
//        private String shareValue;
//        private String name;
//        private String address;
//        private String status;
//        private String isUpload;
//        private String parkTime;
//        private String payedTime;
//        private String dealStatus;
//        private String discountMoney;
//        private String payedMoney;
//        private String createTime;
//        private double lng;
//        private double lat;
//        private List<String> photoList;
//

//
//        public String getId() {
//            return id;
//        }
//
//        public void setId(String id) {
//            this.id = id;
//        }
//
//        public String getCarId() {
//            return carId;
//        }
//
//        public void setCarId(String carId) {
//            this.carId = carId;
//        }
//
//        public String getOrderNum() {
//            return orderNum;
//        }
//
//        public void setOrderNum(String orderNum) {
//            this.orderNum = orderNum;
//        }
//
//        public String getBeginTime() {
//            return beginTime;
//        }
//
//        public void setBeginTime(String beginTime) {
//            this.beginTime = beginTime;
//        }
//
//        public String getEndTime() {
//            return endTime;
//        }
//
//        public void setEndTime(String endTime) {
//            this.endTime = endTime;
//        }
//
//        public String getShareValue() {
//            return shareValue;
//        }
//
//        public void setShareValue(String shareValue) {
//            this.shareValue = shareValue;
//        }
//
//        public String getName() {
//            return name;
//        }
//
//        public void setName(String name) {
//            this.name = name;
//        }
//
//        public String getAddress() {
//            return address;
//        }
//
//        public void setAddress(String address) {
//            this.address = address;
//        }
//
//        public String getStatus() {
//            return status;
//        }
//
//        public void setStatus(String status) {
//            this.status = status;
//        }
//
//        public String getIsUpload() {
//            return isUpload;
//        }
//
//        public void setIsUpload(String isUpload) {
//            this.isUpload = isUpload;
//        }
//
//        public String getParkTime() {
//            return parkTime;
//        }
//
//        public void setParkTime(String parkTime) {
//            this.parkTime = parkTime;
//        }
//
//        public String getPayedTime() {
//            return payedTime;
//        }
//
//        public void setPayedTime(String payedTime) {
//            this.payedTime = payedTime;
//        }
//
//        public String getDealStatus() {
//            return dealStatus;
//        }
//
//        public void setDealStatus(String dealStatus) {
//            this.dealStatus = dealStatus;
//        }
//
//        public String getDiscountMoney() {
//            return discountMoney;
//        }
//
//        public void setDiscountMoney(String discountMoney) {
//            this.discountMoney = discountMoney;
//        }
//
//        public String getPayedMoney() {
//            return payedMoney;
//        }
//
//        public void setPayedMoney(String payedMoney) {
//            this.payedMoney = payedMoney;
//        }
//
//        public String getCreateTime() {
//            return createTime;
//        }
//
//        public void setCreateTime(String createTime) {
//            this.createTime = createTime;
//        }
//
//        public double getLng() {
//            return lng;
//        }
//
//        public void setLng(double lng) {
//            this.lng = lng;
//        }
//
//        public double getLat() {
//            return lat;
//        }
//
//        public void setLat(double lat) {
//            this.lat = lat;
//        }
//
//        public List<String> getPhotoList() {
//            return photoList;
//        }
//
//        public void setPhotoList(List<String> photoList) {
//            this.photoList = photoList;
//        }
//    }
//
//
}
